package com.gitee.wsl.platform

import kotlinx.io.files.Path
import java.io.File

internal actual fun home() = System.getProperty("user.home")


@Suppress("UsableSpace")
actual fun Path.freeSpace(): Long {
    return File(toString()).usableSpace
}